Functoid - WeekPatternRanges

WeekPatternRanges Functoid

Some applications make use of a pattern to e.g. determine a schedule for active/non-active weeks. The pattern output exists of 0 (not-active) or 1 (active). This functoid can be used to create a range of 1's and 0's according to an input range of week numbers.
Inputs with their allowed values:
 Example: